package com.example.dnfgamercommunitybackend.dao;

import com.example.dnfgamercommunitybackend.entity.Account;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface ManageAdminDao {
    Account existAdmin(Account account);

    int addAdmin(Account account);

    int getAdminIdByUsername(String username);

    int addAdminRole(int adminId);

    int deleteAdmin(int adminId);

    List<Account> getAllAdmin();
}
